home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6072 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: newsbf02.news.aol.com!not-for-mail
  2. From: nologon@aol.com (Nologon)
  3. Newsgroups: comp.lang.c++
  4. Subject: MSVC++ 4.0 and linking error
  5. Date: 11 Feb 1996 10:24:09 -0500
  6. Organization: America Online, Inc. (1-800-827-6364)
  7. Sender: root@newsbf02.news.aol.com
  8. Message-ID: <4fl1mp$56e@newsbf02.news.aol.com>
  9. Reply-To: nologon@aol.com (Nologon)
  10. NNTP-Posting-Host: newsbf02.mail.aol.com
  11.  
  12. Hi all,
  13.  
  14. I'm trying to make use of the MSVC++ 4.0 libraries for multimedia
  15. (specifically, MIDI device accessing), which I have so far been assuming
  16. is the include file <mmsystem.h>.  When including it, though, and making a
  17. call (midiOutNumDvs), I get linker error LNK2001, stating that it was
  18. unable to find __imp__midiOutNumDevs, a name that the help file says is
  19. generated fromt the original function call for use by the DLLs (? or
  20. something like that).  The documentation said not to include the static
  21. libraries LIBC.LIB and LIBCMT.LIB when linking, so I removed them from the
  22. defaultlib, but it had no effect.  Nothing I've tried has had any effect,
  23. in fact, so I'm getting strongly suspicious I don't understand at all how
  24. to get to these functions.
  25.  
  26. Any suggestions / solutions?
  27.  
  28. Thanks kindly,
  29. eric hackborn
  30.